<script type="text/javascript">
    /**
 * User: Ngannv
 * Date: 9/18/11
 * Email : ngankt2@gmail.com
 */
/**
 * @by ngannv 02-2011
 * @param arr
 * @param level
 */
var jLib = {
    version:"1.0.0",
    date:"30-09-2011",
    author:"Ngannv",
    conf:function() {
        var doc = document,win = window,n = navigator,ua = n.userAgent
        this.isOpera = win.opera && opera.buildNumber;
        this.isWebKit = /WebKit/.test(ua);
        this.isIE = !this.isWebKit && !this.isOpera && (/MSIE/gi).test(ua) && (/Explorer/gi).test(n.appName);
        this.isIE6 = this.isIE && /MSIE [56]/.test(ua);
        this.isGecko = !this.isWebKit && /Gecko/.test(ua);
        this.isAir = /adobeair/i.test(ua);
        this.isMac = ua.toLowerCase().indexOf("mac") != -1;
        this.isChrome = ua.toLowerCase().indexOf("chrome") != -1;
        this.isFireFox = ua.toLowerCase().indexOf('firefox') != -1;
        this.isSafari = ua.toLowerCase().indexOf('safari') != -1;
    },
    printObj:function(obj,level) {
        var output = "";
        if (!level) level = 0;
        var padding = "";
        for (var j = 0; j < level + 1; j++) {
            padding += "    ";
        }
        if (typeof(obj) == 'object') {
            for (var item in obj) {
                var value = obj[item];
                if (typeof(value) == 'object') {
                    output += padding + "'<b>" + item + "'</b>=><b>{</b>\n";
                    output += jLib.printObj(value, level + 1);
                } else {
                    output += padding + "  '<b>" + item + "</b>' => \"<i>" + value + "</i>\",\n";
                }
            }
            output += padding + '<b>}</b>\n';
        } else {
            output = "===>" + obj + "<===(" + typeof(obj) + ")";
        }
        return output;
    },
    isEmail:function(email) {
        var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
        return reg.test(email);
    }

};
window.jLib = jLib;
jLib.conf();
var cities_eb = {"HOME":[{"id":"22","url":"tp22\/Ha-Noi.html","bdsurl":"bds22\/Ha-Noi.html","name":"H\u00e0 N\u1ed9i"},{"id":"26","url":"tp26\/Hai-Phong.html","bdsurl":"bds26\/Hai-Phong.html","name":"H\u1ea3i Ph\u00f2ng"},{"id":"29","url":"tp29\/Ho-Chi-Minh.html","bdsurl":"bds29\/Ho-Chi-Minh.html","name":"H\u1ed3 Ch\u00ed Minh"},{"id":"15","url":"tp15\/Da-Nang.html","bdsurl":"bds15\/Da-Nang.html","name":"\u0110\u00e0 N\u1eb5ng"}],"SOUTHEN":[{"id":"14","url":"tp14\/Can-Tho.html","bdsurl":"bds14\/Can-Tho.html","name":"C\u1ea7n Th\u01a1"},{"id":"3","url":"tp3\/Bac-Lieu.html","bdsurl":"bds3\/Bac-Lieu.html","name":"B\u1ea1c Li\u00eau"},{"id":"7","url":"tp7\/Ben-Tre.html","bdsurl":"bds7\/Ben-Tre.html","name":"B\u1ebfn Tre"},{"id":"8","url":"tp8\/Binh-Duong.html","bdsurl":"bds8\/Binh-Duong.html","name":"B\u00ecnh D\u01b0\u01a1ng"},{"id":"12","url":"tp12\/Ca-Mau.html","bdsurl":"bds12\/Ca-Mau.html","name":"C\u00e0 Mau"},{"id":"17","url":"tp17\/Dong-Nai.html","bdsurl":"bds17\/Dong-Nai.html","name":"\u0110\u1ed3ng Nai"},{"id":"18","url":"tp18\/Dong-Thap.html","bdsurl":"bds18\/Dong-Thap.html","name":"\u0110\u1ed3ng Th\u00e1p"},{"id":"31","url":"tp31\/Kien-Giang.html","bdsurl":"bds31\/Kien-Giang.html","name":"Ki\u00ean Giang"},{"id":"37","url":"tp37\/Long-An.html","bdsurl":"bds37\/Long-An.html","name":"Long An"},{"id":"49","url":"tp49\/Soc-Trang.html","bdsurl":"bds49\/Soc-Trang.html","name":"S\u00f3c Tr\u0103ng"},{"id":"51","url":"tp51\/Tay-Ninh.html","bdsurl":"bds51\/Tay-Ninh.html","name":"T\u00e2y Ninh"},{"id":"56","url":"tp56\/Tien-Giang.html","bdsurl":"bds56\/Tien-Giang.html","name":"Ti\u1ec1n Giang"},{"id":"57","url":"tp57\/Tra-Vinh.html","bdsurl":"bds57\/Tra-Vinh.html","name":"Tr\u00e0 Vinh"},{"id":"59","url":"tp59\/Vinh-Long.html","bdsurl":"bds59\/Vinh-Long.html","name":"V\u0129nh Long"},{"id":"66","url":"tp66\/An-giang.html","bdsurl":"bds66\/An-giang.html","name":"An giang"},{"id":"67","url":"tp67\/Ba-Ria-Vung-Tau.html","bdsurl":"bds67\/Ba-Ria-Vung-Tau.html","name":"B\u00e0 R\u1ecba - V\u0169ng T\u00e0u"}],"NORTHEN":[{"id":"5","url":"tp5\/Bac-Giang.html","bdsurl":"bds5\/Bac-Giang.html","name":"B\u1eafc Giang"},{"id":"4","url":"tp4\/Bac-Can.html","bdsurl":"bds4\/Bac-Can.html","name":"B\u1eafc C\u1ea1n"},{"id":"6","url":"tp6\/Bac-Ninh.html","bdsurl":"bds6\/Bac-Ninh.html","name":"B\u1eafc Ninh"},{"id":"13","url":"tp13\/Cao-Bang.html","bdsurl":"bds13\/Cao-Bang.html","name":"Cao B\u1eb1ng"},{"id":"20","url":"tp20\/Ha-Giang.html","bdsurl":"bds20\/Ha-Giang.html","name":"H\u00e0 Giang"},{"id":"21","url":"tp21\/Ha-Nam.html","bdsurl":"bds21\/Ha-Nam.html","name":"H\u00e0 Nam"},{"id":"23","url":"tp23\/Ha-Tay.html","bdsurl":"bds23\/Ha-Tay.html","name":"H\u00e0 T\u00e2y"},{"id":"25","url":"tp25\/Hai-Duong.html","bdsurl":"bds25\/Hai-Duong.html","name":"H\u1ea3i D\u01b0\u01a1ng"},{"id":"27","url":"tp27\/Hoa-Binh.html","bdsurl":"bds27\/Hoa-Binh.html","name":"H\u00f2a B\u00ecnh"},{"id":"28","url":"tp28\/Hung-Yen.html","bdsurl":"bds28\/Hung-Yen.html","name":"H\u01b0ng Y\u00ean"},{"id":"33","url":"tp33\/Lai-Chau.html","bdsurl":"bds33\/Lai-Chau.html","name":"Lai Ch\u00e2u"},{"id":"34","url":"tp34\/Lang-Son.html","bdsurl":"bds34\/Lang-Son.html","name":"L\u1ea1ng S\u01a1n"},{"id":"35","url":"tp35\/Lao-Cai.html","bdsurl":"bds35\/Lao-Cai.html","name":"L\u00e0o Cai"},{"id":"38","url":"tp38\/Nam-Dinh.html","bdsurl":"bds38\/Nam-Dinh.html","name":"Nam \u0110\u1ecbnh"},{"id":"40","url":"tp40\/Ninh-Binh.html","bdsurl":"bds40\/Ninh-Binh.html","name":"Ninh B\u00ecnh"},{"id":"42","url":"tp42\/Tinh-Phu-Tho.html","bdsurl":"bds42\/Tinh-Phu-Tho.html","name":"T\u1ec9nh Ph\u00fa Th\u1ecd"},{"id":"47","url":"tp47\/Quang-Ninh.html","bdsurl":"bds47\/Quang-Ninh.html","name":"Qu\u1ea3ng Ninh"},{"id":"50","url":"tp50\/Son-La.html","bdsurl":"bds50\/Son-La.html","name":"S\u01a1n La"},{"id":"52","url":"tp52\/Thai-Binh.html","bdsurl":"bds52\/Thai-Binh.html","name":"Th\u00e1i B\u00ecnh"},{"id":"53","url":"tp53\/Thai-Nguyen.html","bdsurl":"bds53\/Thai-Nguyen.html","name":"Th\u00e1i Nguy\u00ean"},{"id":"54","url":"tp54\/Thanh-Hoa.html","bdsurl":"bds54\/Thanh-Hoa.html","name":"Thanh H\u00f3a"},{"id":"58","url":"tp58\/Tuyen-Quang.html","bdsurl":"bds58\/Tuyen-Quang.html","name":"Tuy\u00ean Quang"},{"id":"60","url":"tp60\/Vinh-Phuc.html","bdsurl":"bds60\/Vinh-Phuc.html","name":"V\u0129nh Ph\u00fac"},{"id":"61","url":"tp61\/Yen-Bai.html","bdsurl":"bds61\/Yen-Bai.html","name":"Y\u00ean B\u00e1i"}],"MIDDLE":[{"id":"9","url":"tp9\/Binh-Dinh.html","bdsurl":"bds9\/Binh-Dinh.html","name":"B\u00ecnh \u0110\u1ecbnh"},{"id":"10","url":"tp10\/Binh-Phuoc.html","bdsurl":"bds10\/Binh-Phuoc.html","name":"B\u00ecnh Ph\u01b0\u1edbc"},{"id":"11","url":"tp11\/Binh-Thuan.html","bdsurl":"bds11\/Binh-Thuan.html","name":"B\u00ecnh Thu\u1eadn"},{"id":"16","url":"tp16\/Dak-Lak.html","bdsurl":"bds16\/Dak-Lak.html","name":"\u0110\u1eafk L\u1eafk"},{"id":"19","url":"tp19\/Gia-Lai.html","bdsurl":"bds19\/Gia-Lai.html","name":"Gia Lai"},{"id":"24","url":"tp24\/Ha-Tinh.html","bdsurl":"bds24\/Ha-Tinh.html","name":"H\u00e0 T\u0129nh"},{"id":"30","url":"tp30\/Khanh-Hoa.html","bdsurl":"bds30\/Khanh-Hoa.html","name":"Kh\u00e1nh H\u00f2a"},{"id":"32","url":"tp32\/Kon-Tum.html","bdsurl":"bds32\/Kon-Tum.html","name":"Kon Tum"},{"id":"36","url":"tp36\/Lam-Dong.html","bdsurl":"bds36\/Lam-Dong.html","name":"L\u00e2m \u0110\u1ed3ng"},{"id":"39","url":"tp39\/Nghe-An.html","bdsurl":"bds39\/Nghe-An.html","name":"Ngh\u1ec7 An"},{"id":"41","url":"tp41\/Ninh-Thuan.html","bdsurl":"bds41\/Ninh-Thuan.html","name":"Ninh Thu\u1eadn"},{"id":"43","url":"tp43\/Phu-Yen.html","bdsurl":"bds43\/Phu-Yen.html","name":"Ph\u00fa Y\u00ean"},{"id":"44","url":"tp44\/Quang-Binh.html","bdsurl":"bds44\/Quang-Binh.html","name":"Qu\u1ea3ng B\u00ecnh"},{"id":"45","url":"tp45\/Quang-Nam.html","bdsurl":"bds45\/Quang-Nam.html","name":"Qu\u1ea3ng Nam"},{"id":"46","url":"tp46\/Quang-Ngai.html","bdsurl":"bds46\/Quang-Ngai.html","name":"Qu\u1ea3ng Ng\u00e3i"},{"id":"48","url":"tp48\/Quang-Tri.html","bdsurl":"bds48\/Quang-Tri.html","name":"Qu\u1ea3ng Tr\u1ecb"},{"id":"55","url":"tp55\/Thua-Thien-Hue.html","bdsurl":"bds55\/Thua-Thien-Hue.html","name":"Th\u1eeba Thi\u00ean Hu\u1ebf"}]};
document.write('<pre>');
document.write(jLib.printObj(cities_eb));
document.write('</pre>');
if(jLib.isFireFox){
    alert("sg");
}
</script>